<?php
/* Smarty version 3.1.29, created on 2017-06-27 12:04:28
  from "D:\amp\web\mvc_blog\app\admin\view\Privilege\login.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5951d94c71e672_34472709',
  'file_dependency' => 
  array (
    '0b148c99c67b4c035a4bc6b7922b1dcaefad03ea' => 
    array (
      0 => 'D:\\amp\\web\\mvc_blog\\app\\admin\\view\\Privilege\\login.html',
      1 => 1498536264,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:Public/head.html' => 1,
  ),
),false)) {
function content_5951d94c71e672_34472709 ($_smarty_tpl) {
?>

<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:Public/head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <div class="loginform">
    	<div class="title"> <span class="logo-text font18">博客后台管理系统</span></div>
        <div class="body">
       	  <form id="form1" name="form1" method="post" action="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
?p=admin&m=Privilege&a=login">
           	<label class="log-lab">用户名</label>
            <input name="account" type="text" class="login-input-user" id="textfield" value=""/>
          	<label class="log-lab">密码</label>
            <input name="pwd" type="password" class="login-input-pass" id="textfield" value=""/>
			<label class="log-lab">验证码</label>
			<div class="padding-bottom5"><img src="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
?p=admin&m=Privilege&a=captcha"  id="img" width="220" height="60"></div>
			<input name="captcha" type="text" class="login-input" id="textfield" value=""/>
			<label class="log-lab"><input type="checkbox" name="r_login" class="uniform" value="yes"> 7天内自动登录</label>
            <input type="submit" name="button" id="button" value="登录" class="button" />
       	  </form>
        </div>
    </div>
<?php echo '<script'; ?>
 type="text/javascript">
	document.getElementById('img').onclick=function(){
	   //点击验证码 刷新
	     document.getElementById('img').src="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
?p=admin&m=Privilege&a=captcha&n ="+Math.random();
	}
<?php echo '</script'; ?>
>


</div>
</body>
</html>
<?php }
}
